package com.uls.found.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 寻物启事对象 edu_lost_found_notice
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class EduLostFoundNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 启事ID */
    private Integer noticeId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 启事标题 */
    @Excel(name = "启事标题")
    private String noticeTitle;

    /** 启事内容 */
    @Excel(name = "启事内容")
    private String noticeContent;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date postedTime;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Integer isActive;

    /** 电话联系 */
    @Excel(name = "电话联系")
    private String phone;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNumber;

    /** 物品分类 */
    @Excel(name = "物品分类")
    private Long itemCategories;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标志（0代表存在 2代表删除） */
    private Integer delFlag;

    /**
     * 图片路径
     */
    @Excel(name = "图片路径")
    private String picture;

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }



    public void setNoticeId(Integer noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Integer getNoticeId() 
    {
        return noticeId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public void setNoticeTitle(String noticeTitle)
    {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTitle() 
    {
        return noticeTitle;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }
    public void setPostedTime(Date postedTime) 
    {
        this.postedTime = postedTime;
    }

    public Date getPostedTime() 
    {
        return postedTime;
    }
    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setItemCategories(Long itemCategories) 
    {
        this.itemCategories = itemCategories;
    }

    public Long getItemCategories() 
    {
        return itemCategories;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeId", getNoticeId())
            .append("studentId", getStudentId())
            .append("noticeTitle", getNoticeTitle())
            .append("noticeContent", getNoticeContent())
            .append("postedTime", getPostedTime())
            .append("isActive", getIsActive())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("itemCategories", getItemCategories())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
